const express=require('express')
const app=express();
let cors=require('cors')
app.use(cors());
app.use(express.json())

app.use('/uploads',express.static(__dirname+'/uploads'))
app.use('/assets',express.static(__dirname+'/assets'))

app.set('secret', 'artzy')

require('../plugins/db')(app)
require('../router/admin')(app)

app.listen(3000, () => console.log("http://10.9.67.207:3000"))

